home *** CD-ROM | disk | FTP | other *** search
- package Forms
- {
- import flash.events.Event;
- import flash.events.MouseEvent;
- import flash.net.URLRequest;
- import flash.net.navigateToURL;
- import flash.utils.Timer;
-
- [Embed(source="/_assets/assets.swf", symbol="Forms.UpsellForm")]
- public class UpsellForm extends CluelessBaseForm
- {
-
-
- protected var _iSnapshotCountdown:int = 0;
-
- public var _bBuyNow:Button;
-
- protected var _timer:Timer;
-
- public var _bQuit:Button;
-
- protected var _dragcontroller:DragController;
-
- public function UpsellForm()
- {
- _dragcontroller = new DragController();
- _iSnapshotCountdown = 0;
- _timer = new Timer(200,0);
- super();
- _bQuit.addEventListener(MouseEvent.CLICK,onQuit,false,0,true);
- _bBuyNow.addEventListener(MouseEvent.CLICK,onBuyNow,false,0,true);
- }
-
- internal function onBuyNow(param1:Event) : void
- {
- navigateToURL(new URLRequest("http://legacygames.com/download_games/874/clueless/"));
- }
-
- internal function onQuit(param1:Event) : void
- {
- MainDocument.forceQuit();
- }
- }
- }
-